<div class="panel-heading">用户组列表</div>
<#if userGroupPagination.totalSize < 1>
<div class="alert alert-danger">无数据....</div>
<#else>
<div class="table-responsive">
	<table class="table table-striped table-bordered table-hover table-condensed">
		<thead>
			<tr>
				<th width="24px"><input type="checkbox" name="checkboxIds" title="全选"></th>
				<th>序号</th>
				<th>类别</th>
				<th>父级</th>
				<th>代码</th>
				<th>名称</th>
				<th class="c1-operation">操作</th>
			</tr>
		</thead>
		<tbody>
			<#list userGroupPagination.dataList as userGroup>
			<tr userGroupId="${userGroup.id!}">
				<td><input type="checkbox" name="id" value="${userGroup.id}"></td>
				<td>${userGroup_index+1}</td>
				<td>${userGroup.typeName!}<#if userGroup.typeCode??>(${userGroup.typeCode!})</#if></td>
				<td>${userGroup.parentName!}<#if userGroup.parentCode??>(${userGroup.parentCode!})</#if></td>
				<td>${userGroup.code!}</td>
				<td>${userGroup.name!}</td>
				<td><div class="btn-group">
						<button class="btn btn-primary btn-xs c1-operation-edit" type="button">编辑</button>
						<button class="btn btn-xs c1-operation-delete-row" type="button">删除</button>
					</div></td>
			</tr>
			</#list>
		</tbody>
	</table>
</div>
<ul class="pagination pull-right"><@cardone.pagination pagination=userGroupPagination />
</ul>

</#if>
